<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<div class="modal-dialog ms-modal-dialog" style="width: 550px;">
  <div class="modal-content">

    <div class="modal-header">
      <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
      <h4 class="modal-title">新增车队信息</h4>
    </div>

    <form class="form-horizontal ms-form form-personal-info" method="POST" action="${ctx.host}/teams" data-validate="true">
    
	    <div class="modal-body">
	      <div class="form-group  ms-form-group">
	        <label class="control-label col-xs-3"><span class="color-red">*</span>车队代码：</label>
	        <div class="col-xs-7 pull-left">
	          <input type="text" class="form-control" name="code" data-validate="required" placeholder="车队代码" tabindex="2" autocomplete="off"/>
	        </div>
	      </div>
	      
	      <div class="form-group  ms-form-group">
	        <label class="control-label col-xs-3"><span class="color-red">*</span>车队名称：</label>
	        <div class="col-xs-7 pull-left">
	          <input type="text" class="form-control" name="name" data-validate="required" placeholder="车队名称" tabindex="3" autocomplete="off"/>
	        </div>
	      </div>
	
	      <div class="form-group  ms-form-group">
	        <label class="control-label col-xs-3">电话号码：</label>
	        <div class="col-xs-7">
	          <input type="text" class="form-control" name="tel" tabindex="4" placeholder="电话号码" autocomplete="off"/>
	        </div>
	      </div>
	
	      <div class="form-group  ms-form-group">
	        <label class="control-label col-xs-3">传真号码：</label>
	        <div class="col-xs-7">
	          <input type="text" class="form-control" name="fax" tabindex="5" placeholder="传真号码" autocomplete="off"/>
	        </div>
	      </div>
	
	      <div class="form-group  ms-form-group">
	        <label class="control-label col-xs-3">部门负责人：</label>
	        <div class="col-xs-7">
	          <input type="text" class="form-control" name="principalName" tabindex="6" placeholder="部门负责人" autocomplete="off"/>
	        </div>
	      </div>
	    </div>
	    
	    <div class="modal-footer ms-modal-footer">
	      <button type="submit" class="btn ms-btn btn-primary btn-submit">确定</button>
	      <button type="button" class="btn ms-btn ms-btn-gary" data-dismiss="modal">取消</button>
	    </div>
	    
    </form>

  </div>
</div>